@echo off SET PGPASSWORD=postgres "C:\ZUCCHETTIHR\Postgresql\14\bin\pg_dump.exe" -U postgres -d zucchetti -p 5432 -f C:\Backup Zucchetti\LUN\zucchetti.backup net stop postgresql-x64-14 net start postgresql-x64-14